package com.clkj.xiuzheng.service;

import com.clkj.xiuzheng.pojo.Factory;
import com.github.pagehelper.PageInfo;

public interface FactoryService {
    void addFactory(Factory factory);

    void updateFactory(Integer factoryId,Integer status);

    void updateFactoryUp(Integer factoryId);

    PageInfo getAllFactory(Integer pageSize, Integer pageNum,Integer companyId);

    PageInfo getFactoryByName(Integer pageSize, Integer pageNum, String factoryName,Integer companyId);
}
